//
//  MakeOrderViewController.m
//  DayAndDayLottery
//
//  Created by dengzhiping on 2017/6/4.
//  Copyright © 2017年 dengzhiping. All rights reserved.
//

#import "MakeOrderViewController.h"
#import "MakeOrderTableViewCell.h"

static NSString *identifier = @"MakeOrderTableViewCellIdentifier";

@interface MakeOrderViewController ()
@property (weak, nonatomic) IBOutlet UITableView *makeOrderTableView;

@end

@implementation MakeOrderViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.makeOrderTableView.tableFooterView = [[UIView alloc] init];
    self.navigationItem.title = @"投注单";
    [self addCustumedBackButton];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}


#pragma mark - UITableViewDataSource
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section{
    return 1;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{
    
    MakeOrderTableViewCell *cell = [ tableView dequeueReusableCellWithIdentifier:identifier];
    cell.selectedNumLabel.text = [NSString stringWithFormat:@"号码 : %@",self.selectedNums];

    return cell;
}
#pragma mark - UITableViewDelegate
- (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath{
    return 44;
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
